package com.golf.server.game;

/**
 * A collection of properties that define how a game is played.
 * 
 * @author gareth
 */
public class GameRules
{

    /** The number of courses to be played in this game. */
    private final int courses;
    
    /** The maximum number of shots that can be played per course. */
    private final int maxStrokes;
    
    
    /**
     * 
     * @param courses
     * @param maxStrokes
     */
    public GameRules(final int courses, final int maxStrokes)
    {
        this.courses = courses;
        this.maxStrokes = maxStrokes;
    }
    
    
    /**
     * 
     * 
     * @return
     */
    public int getCourses()
    {
        return courses;
    }
    
    
    /**
     * 
     * 
     * @return
     */
    public int getMaxStrokes()
    {
        return maxStrokes;
    }
    
}
